Update template_function.cpp