updated template.html