update matches as they're greedy