Set relation attributes on link