Upsert documentation