update websocket client