updates for iOS7 and ARC