private void update(Tuple input){
  JSONObject message=(JSONObject)input.getValueByField("message");
  try {
    Map<String,String> expressions=profileConfig.getUpdate();
    expressions.forEach(null);
  }
 catch (  ParseException e) {
    String msg=format("Bad 'update' expression: %s, profile=%s, entity=%s",e.getMessage(),measurement.getProfileName(),measurement.getEntity());
    throw new ParseException(msg,e);
  }
}

private void update ( Tuple input ) { JSONObject message = ( JSONObject ) input . getValueByField ( "message" ) ; try { Map < String , String > expressions = profileConfig . getUpdate ( ) ; expressions . forEach ( null ) ; } catch ( ParseException e ) { String msg = format ( "Bad 'update' expression: %s, profile=%s, entity=%s" , e . getMessage ( ) , measurement . getProfileName ( ) , measurement . getEntity ( ) ) ; throw new ParseException ( msg , e ) ; } }
update the profile based on data contained in a new message .
