updating home page class