update node template to include pid