diff --git a/resources/templates/provision/grandstream/gxp21xxbk/{$mac}.xml b/resources/templates/provision/grandstream/gxp21xxbk/{$mac}.xml
index 1137d7c68f..b4a67b1428 100644
--- a/resources/templates/provision/grandstream/gxp21xxbk/{$mac}.xml
+++ b/resources/templates/provision/grandstream/gxp21xxbk/{$mac}.xml
@@ -20,11 +20,11 @@
-
+{$http_auth_username}
-
+{$http_auth_password}
@@ -33,7 +33,12 @@
-fm.grandstream.com/gs
+
+{if isset($grandstream_firmware_path)}
+{$grandstream_firmware_path}
+{else}
+{$domain_name}{$project_path}/app/provision
+{/if}