update a match