update index.html with class