version comparison for updates improved