update
saving/opening database to/from sqlite