export resetNameIndexes()
update progress also when reading with one thread only