update index.html with edited content