update image paths