changing endpoint urls