updated endpoint definitions