update index to HTML5