update index for features