update sqlite3 database when db updated in repo