Example and readme are updated for new trigger interface