updates for indexing data