update template for TopCoder