refactoring assetdb_storage