Flushes the index updater after all updates have been applied

instead of after each update. Massive performance difference for large
transactions.