change sql, change config