updated the rendering for homepage