updating image paths