updates to the template.html