Update templet.cpp