trapcontroller update