Update ImageBuffer.cs