private void updateElement() {
		try {
			SortedMap<String, Object> map = updateElementTableModel.getProperties();
			ElementListViewHelper helper = (ElementListViewHelper) updateElementsComboBox.getSelectedItem();
			if(helper == null)
				return;
			
			NetworkHardware nh = (NetworkHardware) helper.getNetworkHardware();
						
			for(String s : map.keySet()) {
				nh.setProperty(map.get(s), s);
			}
			DataOutputStream dos = new DataOutputStream(socket.getOutputStream());
					
			dos.writeBytes(ServerFrame.updateElementCmd + "\n");
			
			ObjectOutputStream oos = new ObjectOutputStream(socket.getOutputStream());
			oos.writeObject(nh);
	
		} catch(Exception e) {
			e.printStackTrace();
		}		
	}