Differentiate workflow state change vs update

Hi all,

I’m using hooks (on_update method) to capture workflow state transition.
My problem is I can not differentiate if this is because workflow state transition or normal update.
Is there a way I can distinguish it ?

Thank you in advance.
Dey