update index to use html