Tony update detail.php