Update csv format and bulk inserts