Simplify trigger example

Make syntax style same as other examples