update index animation