change flow stats actions to new constructor format

Takamiya-san

This pull request should fix the flow stats actions problem reported. 

Kind regards

Nick