Use this API to update nsconsoleloginprompt.
161993
public static base_response update(nitro_service client, nsconsoleloginprompt resource) throws Exception {
		nsconsoleloginprompt updateresource = new nsconsoleloginprompt();
		updateresource.promptstring = resource.promptstring;
		return updateresource.update_resource(client);
	}
164027
public static base_response update(nitro_service client, snmptrap resource) throws Exception {
		snmptrap updateresource = new snmptrap();
		updateresource.trapclass = resource.trapclass;
		updateresource.trapdestination = resource.trapdestination;
		updateresource.destport = resource.destport;
		updateresource.version = resource.version;
		updateresource.communityname = resource.communityname;
		updateresource.srcip = resource.srcip;
		updateresource.severity = resource.severity;
		return updateresource.update_resource(client);
	}
438554
public static base_responses update(nitro_service client, nslimitidentifier resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			nslimitidentifier updateresources[] = new nslimitidentifier[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new nslimitidentifier();
				updateresources[i].limitidentifier = resources[i].limitidentifier;
				updateresources[i].threshold = resources[i].threshold;
				updateresources[i].timeslice = resources[i].timeslice;
				updateresources[i].mode = resources[i].mode;
				updateresources[i].limittype = resources[i].limittype;
				updateresources[i].selectorname = resources[i].selectorname;
				updateresources[i].maxbandwidth = resources[i].maxbandwidth;
				updateresources[i].trapsintimeslice = resources[i].trapsintimeslice;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
1183806
protected void propsFileUpdateNotify(Properties updatedProps, long sequence) {
		if(aggregator == null || aggregator.getPlatformServices() == null // unit tests?
				|| !loadFromPropertiesFile) return;

		IPlatformServices platformServices = aggregator.getPlatformServices();
		try {
			IServiceReference[] refs = platformServices.getServiceReferences(OptionsImpl.class.getName(),
					"(propsFileName=" + getPropsFile().getAbsolutePath().replace("\\", "\\\\") + ")");	//$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
			if (refs != null) {
				for (IServiceReference ref : refs) {
					String name = ref.getProperty("name"); //$NON-NLS-1$
					if (!registrationName.equals(name)) {
						OptionsImpl impl = (OptionsImpl)platformServices.getService(ref);
						if (impl != null) {
							try {
								impl.propertiesFileUpdated(updatedProps, sequence);
							} catch (Throwable ignore) {}
							finally {
								platformServices.ungetService(ref);
							}
						}
					}
				}
			}
		} catch (PlatformServicesException e) {
			if (log.isLoggable(Level.SEVERE)) {
				log.log(Level.SEVERE, e.getMessage(), e);
			}
		}
	}
12558
protected void update(CmsRequestContext context) {

        m_timeUpdated = System.currentTimeMillis();
        m_siteRoot = context.getSiteRoot();
        setProject(context.getCurrentProject().getUuid());
        m_ouFqn = context.getOuFqn();
    }
50051
public static base_responses update(nitro_service client, nsacl6 resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			nsacl6 updateresources[] = new nsacl6[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new nsacl6();
				updateresources[i].acl6name = resources[i].acl6name;
				updateresources[i].aclaction = resources[i].aclaction;
				updateresources[i].srcipv6 = resources[i].srcipv6;
				updateresources[i].srcipop = resources[i].srcipop;
				updateresources[i].srcipv6val = resources[i].srcipv6val;
				updateresources[i].srcport = resources[i].srcport;
				updateresources[i].srcportop = resources[i].srcportop;
				updateresources[i].srcportval = resources[i].srcportval;
				updateresources[i].destipv6 = resources[i].destipv6;
				updateresources[i].destipop = resources[i].destipop;
				updateresources[i].destipv6val = resources[i].destipv6val;
				updateresources[i].destport = resources[i].destport;
				updateresources[i].destportop = resources[i].destportop;
				updateresources[i].destportval = resources[i].destportval;
				updateresources[i].srcmac = resources[i].srcmac;
				updateresources[i].protocol = resources[i].protocol;
				updateresources[i].protocolnumber = resources[i].protocolnumber;
				updateresources[i].icmptype = resources[i].icmptype;
				updateresources[i].icmpcode = resources[i].icmpcode;
				updateresources[i].vlan = resources[i].vlan;
				updateresources[i].Interface = resources[i].Interface;
				updateresources[i].priority = resources[i].priority;
				updateresources[i].established = resources[i].established;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
372876
public static base_response change(nitro_service client, nsaptlicense resource) throws Exception {
		nsaptlicense updateresource = new nsaptlicense();
		updateresource.id = resource.id;
		updateresource.sessionid = resource.sessionid;
		updateresource.bindtype = resource.bindtype;
		updateresource.countavailable = resource.countavailable;
		updateresource.licensedir = resource.licensedir;
		return updateresource.perform_operation(client,"update");
	}
1250722
public static base_responses update(nitro_service client, nshttpprofile resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			nshttpprofile updateresources[] = new nshttpprofile[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new nshttpprofile();
				updateresources[i].name = resources[i].name;
				updateresources[i].dropinvalreqs = resources[i].dropinvalreqs;
				updateresources[i].markhttp09inval = resources[i].markhttp09inval;
				updateresources[i].markconnreqinval = resources[i].markconnreqinval;
				updateresources[i].cmponpush = resources[i].cmponpush;
				updateresources[i].conmultiplex = resources[i].conmultiplex;
				updateresources[i].maxreusepool = resources[i].maxreusepool;
				updateresources[i].dropextracrlf = resources[i].dropextracrlf;
				updateresources[i].incomphdrdelay = resources[i].incomphdrdelay;
				updateresources[i].websocket = resources[i].websocket;
				updateresources[i].reqtimeout = resources[i].reqtimeout;
				updateresources[i].adpttimeout = resources[i].adpttimeout;
				updateresources[i].reqtimeoutaction = resources[i].reqtimeoutaction;
				updateresources[i].dropextradata = resources[i].dropextradata;
				updateresources[i].weblog = resources[i].weblog;
				updateresources[i].clientiphdrexpr = resources[i].clientiphdrexpr;
				updateresources[i].maxreq = resources[i].maxreq;
				updateresources[i].persistentetag = resources[i].persistentetag;
				updateresources[i].spdy = resources[i].spdy;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
499056
public static base_response update(nitro_service client, nshttpparam resource) throws Exception {
		nshttpparam updateresource = new nshttpparam();
		updateresource.dropinvalreqs = resource.dropinvalreqs;
		updateresource.markhttp09inval = resource.markhttp09inval;
		updateresource.markconnreqinval = resource.markconnreqinval;
		updateresource.insnssrvrhdr = resource.insnssrvrhdr;
		updateresource.nssrvrhdr = resource.nssrvrhdr;
		updateresource.logerrresp = resource.logerrresp;
		updateresource.conmultiplex = resource.conmultiplex;
		updateresource.maxreusepool = resource.maxreusepool;
		return updateresource.update_resource(client);
	}
664678
def update(self) -> None:
        """"""
        mask = self.mask
        weights = self.refweights[mask]
        self[~mask] = numpy.nan
        self[mask] = weights/numpy.sum(weights)
280988
private void updateDecoration() {
        if (lastResult != null) {
            if (lastResult) {
                setIcon(validIcon);
                setToolTipText(validText);
            } else {
                setIcon(invalidIcon);
                setToolTipText(invalidText);
            }
        }
    }
694237
public static base_response update(nitro_service client, nstcpbufparam resource) throws Exception {
		nstcpbufparam updateresource = new nstcpbufparam();
		updateresource.size = resource.size;
		updateresource.memlimit = resource.memlimit;
		return updateresource.update_resource(client);
	}
989311
public static base_response update(nitro_service client, nshostname resource) throws Exception {
		nshostname updateresource = new nshostname();
		updateresource.hostname = resource.hostname;
		updateresource.ownernode = resource.ownernode;
		return updateresource.update_resource(client);
	}
68786
public static base_response update(nitro_service client, nsappflowparam resource) throws Exception {
		nsappflowparam updateresource = new nsappflowparam();
		updateresource.templaterefresh = resource.templaterefresh;
		updateresource.udppmtu = resource.udppmtu;
		updateresource.httpurl = resource.httpurl;
		updateresource.httpcookie = resource.httpcookie;
		updateresource.httpreferer = resource.httpreferer;
		updateresource.httpmethod = resource.httpmethod;
		updateresource.httphost = resource.httphost;
		updateresource.httpuseragent = resource.httpuseragent;
		updateresource.clienttrafficonly = resource.clienttrafficonly;
		return updateresource.update_resource(client);
	}
1165240
public static base_response update(nitro_service client, nsxmlnamespace resource) throws Exception {
		nsxmlnamespace updateresource = new nsxmlnamespace();
		updateresource.prefix = resource.prefix;
		updateresource.Namespace = resource.Namespace;
		updateresource.description = resource.description;
		return updateresource.update_resource(client);
	}
986633
public static ns update(nitro_service client, ns resource) throws Exception
	{
		resource.validate("modify");
		return ((ns[]) resource.update_resource(client))[0];
	}
267926
public void update(Object feature) throws LayerException {
		Session session = getSessionFactory().getCurrentSession();
		session.update(feature);
	}