updated endpoint url