Proper handling of delete action on update item