Fix for socket.io update