After you have edited the template, make sure you “Save” it (File menu), and then Publish it using the icon at the top right corner. Next, go to the option in the left menu for “Assign Templates to Pages” and reassign that template name to the appropriate pages in the site. Then, republish the site by selecting the Publish icon again. This will republish all pages to reflect the new template version.