Updates image paths