Updated template file