How to change labels and images in a template ?