No, a factory reset will not remove software updates or security patches. The phone will retain the latest version installed.