Updated to the latest version of the api