Updated the App to use the newest API.