updated the form fields.