update deprecated calls from IOS6