update index to last version