update of the node server code