Updated trigger documentation and example