update for iOS6.x