modefy config file