update websocket communication masterless approach