update template to 4.0