update 'matchpairs'