change rpc pb api