update form config