update form template file