updated the preview image