Update document model for API v3