Update form type