update index.html.template