Changed the API url to point to the new api endpoint