removed code in updateItemData to not detect a duplicate