Upsert with multiple UIDs

Actually, the error is slightly different because it’s saying “Some variables are defined but not used” rather than “Some variables are used but not defined”.