updateActionDef belongs to PersonalMessage.js I think

Signed-off-by: emanuele <emanuele45@gmail.com>
Updating events were broken in several ways

Signed-off-by: emanuele <emanuele45@gmail.com>