remove removeLinkIfExists and add changeLinkIfExists