update form definition