update, show CameraPreview only in debug mode