updated upgrade scripts.
diff --git a/templates/devportal-postgres.conf.j2 b/templates/devportal-postgres.conf.j2
index 9ca5979..983ec4e 100644
--- a/templates/devportal-postgres.conf.j2
+++ b/templates/devportal-postgres.conf.j2
@@ -1,7 +1,7 @@
 HOSTIP=$(hostname -i)
 MP_POD={{ opdk_mp_pod | default(default_mp_pod) }}
 REGION={{ region }}
-PG_PWD='{{ devportal_pg_pass | default(pg_pass) }}'
+PG_PWD='{{ dp_pg_pass | default(pg_pass) }}'
 {% if db_pgstandby_ip is defined %}
 PG_STANDBY={{ db_pgstandby_ip }}
 {% endif %}