fill relations between items