update to work with assetmanager