conditional addition of upsert #1