updates to template