Update Socket.js