update socket.io part