SQLITE updated open sqlite db file method