pub async fn check_for_update( client: &Client, local: &str, latest_url: Option<&str>, ) -> Result<Option<UpdateAvailable>>