udpated template