Update user detection.php