changed db to sqllite