Updating image paths