Updating package hierarchy