Update dbmanager.cpp

Correction test