Update preview image. Delete un-used images.