adding updates to server.js