NSManagedObjectContext *child = self.managedObjectContext;
NSManagedObjectContext *parent = [[NSManagedObjectContext alloc]initWithConcurrencyType:NSPrivateQueueConcurrencyType];
[child setParentContext:parent];