corrected  upserting left tuples