The iPad Air 2 works perfectly fine on iOS 10. You'll also get many new features such as split screen, where you can run two apps or browser windows side by side at the same time. Since you'll be going all the way from iOS 8 to iOS 10, it will be better to do it through iTunes on your computer. Make sure to back up your iPad before starting the update. If necessary you can then restore your iPad from the backup you make.