Update index.html with a template