code: public Namespace updateNamespace(BigInteger id, Namespace namespace) throws IOException, TokenExpiredException {
          String requestUrl = RESOURCE + "/" + id.toString();
          ArgusResponse response = getClient().executeHttpRequest(ArgusHttpClient.RequestType.PUT, requestUrl, namespace);
  
          assertValidResponse(response, requestUrl);
          return fromJson(response.getResult(), Namespace.class);
      }
docs: Updates a new namespace.
  
  @param   id         The ID of the namespace to update.
  @param   namespace  The namespace to update.
  
  @return  The updated namespace.
  
  @throws  IOException  If the server cannot be reached.
  @throws  TokenExpiredException   If the token sent along with the request has expired