update assetManager code