updated the sidebar