Update api_logs.php