upgrade index.html