Update the template of the slideshow