updating column name handling for the SQL insert