update relative paths to images