consistently update form fields