Update account-manager.js