button update index