core data updated to model 4