Update the struct of the documents.

Signed-off-by: Richard Lea <chigix@zoho.com>