Apple iOS update fixes dangerous Wi-Fi flaw