update index definition