pub async fn perform_update(info: &UpdateInfo) -> Result<()>
Perform the update based on installation method