template and image updates