update to template file