updating file template