When staging is complete, make atomic updates

* if the staging isn't current bail first
* make all changes occur in a transaction

[#80038620]