update for iOS7