updated encounter template