updates data model key-inconsistencies and errors