Check all models in assembly for *update to end*

Hello,

I would like to create a Journal file which finds all models in an assembly structure.

The individual models can be on different tree structure Levels.
Every model should be checked if it is "update to end". If not, this has to be done by the Journal.

Thats what I found by myself using the search function, but I'm not a programmer and my efforts weren't successfull.

http://www.nxjournaling.com/content/loop-through-each-part-assembly-and-...

I tried to record the "update to end" command by

-(Right mouse button click on "Name(filtered)" in Part Navigator)

but I wasn't able to implement the result correctly into the code linked above.

Thanks in advance, if there is anybody who can help me out.

Asap