diff --git a/scripts/update.sh b/scripts/update.sh
index 5f0e684ebc38fa1731eeb22c8b8384537f401f73..fa5f4316bd54dc3a7877eb3afd8c2b8513bbe0aa 100755
--- a/scripts/update.sh
+++ b/scripts/update.sh
@@ -16,4 +16,5 @@ for module in $GLUON_MODULES; do
 
 	git checkout $commit 2>/dev/null || git fetch $repo $branch
 	git checkout -B base $commit
+	git submodule update --init --recursive
 done