Updated the list item deletion