fixed #3463 update trigger code.