Update history-manager.cpp