Added handling for upsert exceptions, multiple cached upserts and CSVReader