changed url of api to the new url