method updateLink

added method updateLink to manage two-sided links between nodes