update template to phase