update ci.db and ci.sql