Update class of parent element now recalculate all children