Update page element classes