refine data model