update core data model