Refactor Update form.