Added in the functionality to save edited relational pins.