1) Place the player and two units on the map.
2) Use the variables for the units: TestUnit1 and TestUnit2.
3) Place the following code into init.sqf and run the preview.
4) Open map and select Shop list subject in diary.
5) Remove record through provided action
6) Open map and look at Shop list subject in diary.
```
//Code that blocks display update
player createDiarySubject ["ShopLists","Shop lists"];
_list = player createDiaryRecord ["ShopLists", ["List 1","example list 1"]];
TestUnit1 setVariable ["ShopList",_list];
_list2 = player createDiaryRecord ["ShopLists", ["List 2","example list 2"]];
TestUnit2 setVariable ["ShopList",_list2];
{
_x addAction
[
"Remove", // title
{
params ["_target"];
private _list = _target getVariable ["ShopList",diaryRecordNull];
player removeDiaryRecord ["ShopLists",_list];
(player allDiaryRecords "ShopLists");//Problem-blocks display update
}
];
} forEach [TestUnit1,TestUnit2];
```