updating indexing section