update index.html for format