Updated ios part