add changes to index
update index