add in_plan trigger