Implement update on shortest paths when a new link is added