updtated index