fixing layered upgrades

because they weren't working