Edit relation.