updated the tmpl