changed model relations