change pb rpc client api