update rpc client