updates to indexing