update_components: some fixes for the new layout, but not tested, likely with at least one bug and no idea if sage should really be a dependency or not (better, an argument to an existing sage checkout)