#1. update document structure