To update your iPhone you will need to download the latest firmware file (IPSW). iOS 9.3.5 is an important security update that fixes a spyware flaw.