The method for updating your MacBook Air varies depending on the version of macOS or OS X currently installed on the iPad. One of the methods shown here applies to MacBook Air laptops running macOS Big Sur (11) through macOS Mojave (10.14); the other applies to macOS High Sierra (10.13) and earlier.
How to Update Software on a MacBook, iMac, and Apple Computer
Updating a Mac usually goes smoothly, but it’s a good idea to back up before you begin. Once your data is backed up, here’s how to check for operating system updates:
Select System Preferences from the Apple menu in the Finder or select the icon in the Dock.
Select Software Update.