update to use routes.js file