adding/deleting relations now also works for resolved data