edit doc structure: