added the config, and updated the index