Updated the sidebar view for the edit option