modify sql
add setting edition