add proper version comparision in OC_Installer::isUpdateAvailable
improve check for duplicate apps