restructured to support transaction for multiple mailbox update operations