diff --git a/CRM/Civirules/Upgrader.php b/CRM/Civirules/Upgrader.php
index a67c2e25537b56d1f620166a79bff28deaa2daa3..7ecd4edb52179b48a9704f31b3fb1cd1be29d7a3 100755
--- a/CRM/Civirules/Upgrader.php
+++ b/CRM/Civirules/Upgrader.php
@@ -58,4 +58,16 @@ class CRM_Civirules_Upgrader extends CRM_Civirules_Upgrader_Base {
     }
     return true;
   }
+
+  /**
+   * Executes upgrade 1003
+   *
+   * Changes the class names in civirule_trigger table becasue those have been changed as well
+   *
+   * @return bool
+   */
+  public function upgrade_1003() {
+    $this->executeSqlFile('sql/update_1003.sql');
+    return true;
+  }
 }
\ No newline at end of file
diff --git a/sql/update_1003.sql b/sql/update_1003.sql
new file mode 100644
index 0000000000000000000000000000000000000000..550ed45075dfa46c227abf6de0a3ca409a657aa2
--- /dev/null
+++ b/sql/update_1003.sql
@@ -0,0 +1,5 @@
+UPDATE `civirules`.`civirule_trigger` SET `class_name`='CRM_CivirulesPostTrigger_Activity' WHERE `class_name` = 'CRM_CivirulesPostEvent_Activity';
+UPDATE `civirules`.`civirule_trigger` SET `class_name`='CRM_CivirulesPostTrigger_Contact' WHERE `class_name` = 'CRM_CivirulesPostEvent_Contact';
+UPDATE `civirules`.`civirule_trigger` SET `class_name`='CRM_CivirulesPostTrigger_GroupContact' WHERE `class_name` = 'CRM_CivirulesPostEvent_GroupContact';
+UPDATE `civirules`.`civirule_trigger` SET `class_name`='CRM_CivirulesCronTrigger_Birthday' WHERE `class_name` = 'CRM_CivirulesCronEvent_Birthday';
+UPDATE `civirules`.`civirule_trigger` SET `class_name`='CRM_CivirulesCronTrigger_GroupMembership' WHERE `class_name` = 'CRM_CivirulesCronEvent_GroupMembership';
\ No newline at end of file