After an update, iOS will typically prompt you for your lock screen passcode, if one was set before the update, and the passcode associated with your iCloud account. They do this to prevent thieves from attempting to take ownership of a device after restoring it.