fix db and add DbDemo