* update document structure.