Updated my iOS app code. Updated the API code