Extract links when saving or updating a node