edit config, index