set version in index file