Update data in database for already existing values

Thanks buddy. It worked.