update index.html in document