update for iOS7 SDK