updatePreview

Updates the preview with the current settings.