update _blockPairs in API