update MatchingDegreeCalculator