Updates paths to images