Renamed nUpdated to nMatched to correctly reflect the actual meaning