update the index.html format