Update match formula