update index slider