update templates for images and titles