install doc2 from coredata