public synchronized long update(HTSMsg msg) {
		HTSMsg chann = events.get(((Number)msg.get(EVENTID)).longValue());			
		
		for (String name : msg.keySet()){
			if (Arrays.asList(HTSMsgFields).contains(name)){
				chann.put(name, msg.get(name));
			}
			else if (name.equals("method")){
				//This is normal, do nothing...
			}
			else{
				System.out.println("N.B. Unrecognized field: " + name);
			}
		}
		return ((Number)msg.get(EVENTID)).longValue();

	}