Add missing curly braces to upsert example