update index words