add websocket client
update websocket client