A batch index updater for leveldb