updating template problem.