diff --git a/webform.install b/webform.install
index 333ef4b..8e2b3f1 100644
--- a/webform.install
+++ b/webform.install
@@ -1070,6 +1070,10 @@ function webform_update_7401(&$sandbox) {
         drupal_write_record('webform_emails', $email, array('nid', 'eid'));
       }
     }
+
+    // Update the last processed NID.
+    $sandbox['last_processed_nid'] = $nid;
+    $sandbox['progress']++;
   }
 
   // If less than limit was processed, the update process is finished.
@@ -1302,6 +1306,10 @@ function webform_update_7403(&$sandbox) {
         drupal_write_record('webform_component', $component, array('nid', 'cid'));
       }
     }
+
+    // Update the last processed NID.
+    $sandbox['last_processed_nid'] = $nid;
+    $sandbox['progress']++;
   }
 
   // If less than limit was processed, the update process is finished.
