reloadAllPackages: update TreeController in the main queue