Updating preview image path.