change endpoint urls