Update MagicCarpet.php