add db adapter
refine data base