update index. fix