update index order