Update detect to scan in public