changing one thing vs changing multiple things in DOM