Added a method for deleting items in the db