refresh after changes to templates