updating for iOS and android