updating image file paths for pdf generation