update to work on iOS 6.1