change update to insert;
add csv rownum