change doc structure