nms: some updates