Update check for match algorithm