Update Core.class.php