Update fpsmanager.cpp