Saving index to metainfo