update content of index.html