update websocket example.