Updated upsert call syntax