websocket register update