Updating the sidebar