Updating websocket example