Update form field value no working properly while in Edit mode