updated CoreData manager