Update sidebarEdit