changed bufferUpdate to BufferStateUpdate in BufferResourceManager