updated Asset.php