added in the code to update modules and commands when uninstalling a package