Update the sidebar with the new content.