@PUT
	@Path("/v2.0/networks/{networkId}")
	@Produces(MediaType.APPLICATION_JSON)
	public Response updateNetwork(@PathParam("networkId") String networkId, final String request) throws MalformedURLException, IOException{
		Object net;
		net = JsonUtility.fromResponseStringToObject(request,ExtendedNetwork.class);
		//Convert input object NetworkData into a String like a Json text
		String input = JsonUtility.toJsonString(net);
		//Connect to a REST service
		HttpURLConnection conn=HTTPConnector.HTTPConnect(new URL(this.URLpath+"/"+networkId), OpenstackNetProxyConstants.HTTP_METHOD_PUT, input);
		//Get the response text from the REST service
		String response=HTTPConnector.printStream(conn);
		ExtendedNetwork n=(ExtendedNetwork) JsonUtility.fromResponseStringToObject(response, ExtendedNetwork.class);
		int responseCode=conn.getResponseCode();
		HTTPConnector.HTTPDisconnect(conn);
		//Update data into the Knowledge Base
		if (responseCode==200){
//			NetworkOntology.updateExtendedNetwork(n);
		}
		//Build the response
		return Response.status(responseCode).header("Access-Control-Allow-Origin", "*").entity(n).build();
	}