Update ActionManager.cpp