edit relationship metadata. fixes #284