Update routes to index.js