update removeTrigger method