modify the datebase.cpp