standby
update

update as cakephp v3 core has changed
minor fix
minor fix
fix, use trigger() instead of hook()