Method to delete an entry