updates the index.html page