change main endpoint