Updated library for iOS