change the api endpoint url