updated index.html code