added support for package uninstallation