Update NIO Buffer