update recordManager.cpp and update recordManager.h