update of endpoint