modify db and db.sql