diff --git a/resources/templates/provision/cisco/spa512g/{$mac}.xml b/resources/templates/provision/cisco/spa512g/{$mac}.xml
index 2fdac4afa7..93c14f253d 100644
--- a/resources/templates/provision/cisco/spa512g/{$mac}.xml
+++ b/resources/templates/provision/cisco/spa512g/{$mac}.xml
@@ -76,7 +76,7 @@
No
Yes
5060
-5080
+15080
No
PAID-RPID-FROM
x-sipura
@@ -117,7 +117,7 @@
16384
-16538
+32768
0.020
0
0
@@ -362,19 +362,14 @@
Background Picture
{foreach $keys["line"] as $row}
-{if $row.device_key_type == "line"}
+{if $row.device_key_category == "line"}
{$row.device_key_line}
{$row.device_key_label}
-private
-
-{else}
-Disabled
-{$row.device_key_label}
-private
+{if $row.device_key_type == "shared"}shared{else}private{/if}
{$row.device_key_value}
-{/if}
+{/if}
{/foreach}
@@ -382,6 +377,8 @@
Scrollable
+Vertical First
+Yes
Yes
Yes
Yes
@@ -502,7 +499,7 @@
Yes
-private
+{if $shared_line_1 == "shared"}shared{else}private{/if}
3600
No
@@ -549,6 +546,7 @@
No
No
1
+{$spa_feature_key_sync}