pub async fn update_config_file(config: &Config) -> Result<()>