Update getDetails.php