updating the server.js files