change endpoint url