update to the changes in riak_repl_pb_api