Update the fields in the form