update index for test