rebuild config.json