update nms