update and test rpc