diff --git a/update-config.sh b/update-config.sh
index 91af442ab15544039d782034437ce183febaa7f8..d2472a6f0d2610276f4f2d80c5039a386deee316 100644
--- a/update-config.sh
+++ b/update-config.sh
@@ -1,4 +1,5 @@
 #!/bin/bash
-
+cd packages/enketo-express/config
 formManagerBaseURI=${GITPOD_WORKSPACE_URL:8}
-echo "$( jq '."formManagerBaseURI" = "'"https://3006-$formManagerBaseURI"'"' default-config.json )" > default-config.json   
\ No newline at end of file
+echo "$( jq '."formManagerBaseURI" = "'"https://3006-$formManagerBaseURI"'"' default-config.json )" > default-config.json   
+cd ..
\ No newline at end of file