update socket.io settings