update match class