How to update form field value in the same field