update to templates