update template warnings