add timestamp and aproved field to document schema, fix #1