update images and templates