Updating ios code