Updated Bitmap class to use UpdateBuffers.