add require index file support
upgrade version