1)update index and app.js