update templates to match variable changes