update to make it support iOS 6