updated db to sqlite