Cupcake upgrades

[placeholder until merge-ready]
Why is this inside the promise?