update to socket.io