update local.conf.template