adjust gen-use upload doc struct