updated coredata