update detector@2.0.1