Updated IOS Code
In progress