Update BlockManager.php