set registry endpoint