fix issue with config file not updated