Update ByteBuffer implementation.