change models structure