update match type.