update form type