update of index