add config and new index.