updated indx