update index.html generation