update template for remote configuration