update form and processform