Update the preview