update the layout of homepage