update document class