Update Swapper.php