update version checks to use versionMatches