Update manager.js