Fixed issue with uninstalling/updating plugins