finish sqlite3 db setup