changing endpoint url