Apple releases "important security update" for iPhone after spyware discovery