made changes to sqlite db creation