updated index.html with template