Update connector-manager.js