updated node.js routes