Update adapter_manager.js