add trigger metadata