Use AutoCommitUpdate instead of Database->onTransactionIdle