updates to index2