Update for document classification and ner