asset_library helper refactoring