Implemented updates for iOS 7,
fixes #602