some updates to html for templates