set relations between models