New flowchart for UpdateMapBrightness()