updates to AssetManager and templates