updates to index