updating NIO Graph