Added updateDebugSettings()