Document upsert (first draft)