update vars for renaming index to order