modify coredata model