Fix trigger api

Add 'active' param to trigger.