REACH-74 Code block does not show last value in Flood

It needs changes in Dynamo as well.
Also this PR contains changes related to `REACH-72` "Dynamo and Flood have different behavior when updating CBN's value changes CBN's ports"
corresponding method of base class `Node` contains this code