add updateTriggers clear old triggers first