Update core/lib/data.php