diff --git a/twitter_actions/twitter_actions.module b/twitter_actions/twitter_actions.module
index 79e8f92..0f45f22 100644
--- a/twitter_actions/twitter_actions.module
+++ b/twitter_actions/twitter_actions.module
@@ -15,10 +15,10 @@ function twitter_actions_action_info() {
       'label' => t('Post a message to Twitter'),
       'configurable' => TRUE,
       'triggers' => array(
-        'nodeapi_view',
-        'nodeapi_insert',
-        'nodeapi_update',
-        'nodeapi_delete',
+        'node_view',
+        'node_insert',
+        'node_update',
+        'node_delete',
         'comment_view',
         'comment_insert',
         'comment_update',
@@ -109,7 +109,7 @@ function twitter_actions_set_status_action($object, $context) {
   $variables['%site_name'] = variable_get('site_name', 'Drupal');
 
   switch ($context['hook']) {
-    case 'nodeapi':
+    case 'node':
     case 'workflow':
       // Because this is not an action of type 'node' the node
       // will not be passed as $object, but it will still be available
