Update the form