routes.js update