change data models structure