Added SWIG upd_endpoint.