SaveContentRelations web service interface doesn't update content id

I am using SaveContentRelations() to update inline_link to point to a different content id.

for the sample, I have three pages page1, page2 and “new page”. page1 has a CMS inline_link to page2 (content id:5347).


<a sys_dependentvariantid="729" rxinlineslot="103" href="/Rhythmyx/assembler/render?[B]sys_contentid=5347[/B]&sys_revision=17&sys_variantid=729&sys_context=0&sys_authtype=0&sys_siteid=&sys_folderid=" [B]sys_dependentid="5347"[/B] sys_siteid="" inlinetype="rxhyperlink" sys_folderid="">Page 2</a></p>

I am using SaveContentRelations() to re-point the page2 link on page1 to “new page” (content id: 5348). The way, I do is by retreiving the existing relationship for page2 and then updating the dependentId to the id of “new page”. After the API updates, I see that body/html has the


<a sys_dependentvariantid="729" rxinlineslot="103" href="http://127.0.0.1:9992/Rhythmyx/assembler/render?sys_authtype=0&sys_variantid=729&sys_revision=17&[B]sys_contentid=5348[/B]&sys_context=0" [B]sys_dependentid="5348[/B]" sys_variantid="729" sys_relationshipid="7541" [B]sys_contentid="5347"[/B] sys_siteid="" inlinetype="rxhyperlink" sys_folderid="">Page 2</a></p>

As you can see, the new updates (new page content id 5348) have been added. However, the old one 5347 also exists causing the URL link to not work?