add notify for controller and models