Refactor Spree::OrderUpdater#persist_totals to be simpler