updates some templates