Update state_manager.hpp