Removed update code in sockets.js