Update memory usage plot script