Updated changed syntax for gerritTrigger

Also replaced example with API example