update image template