update index and web.js