update server.js registration