change match_flows