route.js updated