Updating the preview images.