update process api, used websocket