Updates package names and removes packages.