Changes in the form are not being saved