diff --git a/server/scripts/update_from_dev_stable.sh b/server/scripts/update_from_dev_stable.sh
index 1988189eb713f78997093fbf23b83ef451c578fc..de2e6a47b5fabc0f3389420e650433f2fc7872ce 100644
--- a/server/scripts/update_from_dev_stable.sh
+++ b/server/scripts/update_from_dev_stable.sh
@@ -14,8 +14,8 @@ wget -O ispconfig3-dev.tar.gz "http://git.ispconfig.org/ispconfig/ispconfig3/rep
 tar xzf ispconfig3-dev.tar.gz
 
 echo -n "Latest git version:  "
-ls -1d ispconfig3-master*
-cd ispconfig3-master*/install
+ls -1d ispconfig3-stable*
+cd ispconfig3-stable*/install
 
 php -q \
     -d disable_classes= \