diff --git a/Makefile b/Makefile
index 7dcac67b565dcf67eab9ff5ca6967e79fcd171b5..392b9edd232a1944e49dcd725176bff7c9995195 100644
--- a/Makefile
+++ b/Makefile
@@ -14,8 +14,7 @@ deploy: all
 	cp -r css site/
 
 update:
-	git pull --recurse-submodules
-	git submodule update --recursive --remote
+	git submodule foreach git pull origin master
 
 clean:
 	rm -rf index.html