edit relations on needs