update in index