second part of to_sql change