allow passing array of columns to upsert method