diff --git a/update.php b/update.php
index 31bf743a259dcdc7fa681478f172436dc8031b48..0e338709b44e861ba1d8d6f7b3e17f592fb02410 100644
--- a/update.php
+++ b/update.php
@@ -621,8 +621,8 @@ function update_42() {
 function update_43() {
   update_sql("ALTER TABLE blocks DROP remove");
   update_sql("ALTER TABLE blocks DROP name");
-  update_sql("UPDATE blocks SET type = 0 WHERE type = 1");
-  update_sql("UPDATE blocks SET type = 1 WHERE type = 2");
+  update_sql("UPDATE boxes SET type = 0 WHERE type = 1");
+  update_sql("UPDATE boxes SET type = 1 WHERE type = 2");
 }
 
 function update_upgrade3() {