Automated upgrades using Flux