changes image paths