Update magnet.php