Wrap simultaneous updates in a transaction.