revise endpoint