Update detects.html