Chaning raw card upsert to insert to improve performance