Update BlockManager.js