websocket update and fix