Adding transaction around save_group

There is more than one thing going on, therefore I want to capture it
in a transaction.