Update class_core.php