pub fn update( bin_name: &str, current_version: &str, target_version: Option<&str> ) -> Result<(), UpdateError>