Update BufferManager.java