update to work with iOS-based apps