edit the relationship