upadtes to index2