update server.js [node.js] adding relationship notifications