update template project code