Update Template file