update the layout of dashboard index page