Apple Update Fixes iPhone Security Flaws