updating endpoint address