Changes made on the form are not saving