refine in set up database using sqlite