udpated template setting