Update SelectCore.php