change to use sqlite database
change to generate sqlite database