update template to change ports