compare if installed version is newer