updates danger icons size and layer visibility