Update document class.