update index to latest version