Updated the url of api