update homepage functions