There is a related bug. When I change a link where the link text contains not just a link but some added text, that added text is removed! Please don't do that. Don't be "smart", let me be in control or at least provide an option to turn off your automatic changing of the text without my input.
See the attached file "pp.pptx" and the code below to reproduce this.
{
var path = @"c:\temp\pp.pptx";
var doc = new Presentation(path);
var shape = doc.Slides[0].Shapes[0];
ITextFrame textFrame = ((AutoShape)shape).TextFrame;
var paragraph = textFrame.Paragraphs[0];
paragraph.JoinPortionsWithSameFormatting();
var portion = paragraph.Portions[0];
string url = portion.PortionFormat.HyperlinkClick.ExternalUrl;
string originalText = portion.Text;
string updatedUrl = url.Replace("keysight", "agile");
portion.PortionFormat.HyperlinkManager.SetExternalHyperlinkClick(updatedUrl);
var updatedPath = path.Replace(@"pp.", @"pp2.");
doc.Save(updatedPath, SaveFormat.Pptx);
doc = new Presentation(updatedPath);
shape = doc.Slides[0].Shapes[0];
textFrame = ((AutoShape)shape).TextFrame;
paragraph = textFrame.Paragraphs[0];
paragraph.JoinPortionsWithSameFormatting();
portion = paragraph.Portions[0];
Debug.Assert(portion.Text.EndsWith(originalText));
}