[PATCH v4] network: add modify-or-add feature to net-update