fix for new apex trigger command

use api_name instead of triggername for consitency