Keeping your software up to date is one of the most important things you can do to keep your device safe, according to Apple.