diff --git a/nodewords.install b/nodewords.install
index 13b09fc..9cbe71f 100644
--- a/nodewords.install
+++ b/nodewords.install
@@ -1557,6 +1557,37 @@ function nodewords_update_6180() {
 }
 
 /**
+ * In 6.x-1.12-x the custom-path functionality was managed by a submodule, so
+ * it is possible for sites to be updated and not have the table.
+ */
+function nodewords_update_6181() {
+  $ret = array();
+  $table = 'nodewords_custom';
+
+  // Ensure the table exists.
+  if (db_table_exists($table)) {
+    $ret[] = array(
+      'success' => TRUE,
+      'query' => "The {$table} table already exists so nothing needs to be done.",
+    );
+  }
+  else {
+    $ret[] = array(
+      'success' => TRUE,
+      'query' => "The {$table} table doesn't exist so it will be added.",
+    );
+    $schema = nodewords_schema();
+    db_create_table($ret, $table, $schema[$table]);
+    $ret[] = array(
+      'success' => TRUE,
+      'query' => "The {$table} table has been created.",
+    );
+  }
+
+  return $ret;
+}
+
+/**
  * Implements hook_uninstall().
  */
 function nodewords_uninstall() {
