public void update(ObjectNode serviceSpecObjNode) throws HyscaleException {

		T t = getModel(serviceSpecObjNode);
		if (t == null) {
			return;
		}
		int initialHash = t.hashCode();
		t = updateObject(t);
		int updatedHash = t.hashCode();

		if (initialHash != updatedHash) {
			updateDirective(serviceSpecObjNode, t);
		}
	}
Performs inplace update on passed object node

@param serviceSpecObjNode - this will be updated
workflow-controller/controller-service/src/main/java/io/hyscale/controller/directive/ServiceSpecDirectiveUpdateHandler.java