update index button