method for controller actions changed