update to generate index.html