updating home and single controllers