fix update index button