update having to do with repainting the main content pane.