Update detection_template.php