update indexing