websocket example update