modify config file