diff --git a/resources/templates/provision/grandstream/gxw40xx/{$mac}.xml b/resources/templates/provision/grandstream/gxw40xx/{$mac}.xml
index a0c3f1cc8a..9a56424e68 100644
--- a/resources/templates/provision/grandstream/gxw40xx/{$mac}.xml
+++ b/resources/templates/provision/grandstream/gxw40xx/{$mac}.xml
@@ -49,23 +49,28 @@
2
-
-
- fm.grandstream.com/gs
+ {if isset($grandstream_firmware_path)}
+ {$grandstream_firmware_path}
+ {else}
+ {$domain_name}{$project_path}/app/provision
+ {/if}
{$domain_name}{$project_path}/app/provision
-
-
-
-
-
-
-
+
+
-
+ {$http_auth_password}
+
+
+
+ {$http_auth_username}
+
+
+
+ {$http_auth_password}
@@ -2976,4 +2981,4 @@
-
\ No newline at end of file
+