update index(untest)