Wrap all datastore actions in transaction for data consistency