changed index to new version