Updates form to update model on backend