add hook controller and update action