updating dark overlay contrast class