change rpc interface