Delete and add relations implemented. Add endpoint connected