update template context processor