update form data