Updated to latest version of the API