code: function pongHistogram_UpdateData( divId, paramsObj ) {
  	log( "pongHistogram", "UpdateData start "+divId );
  	//console.log( 'pongHistogram start update' )
  	var pmd = moduleConfig[ divId ]
    var param = {}
    if ( paramsObj ) param = JSON.parse( JSON.stringify( paramsObj ) )
    param[ 'xMin' ] = parseFloat( pmd.xAxisMin ) 
    param[ 'xMax' ] = parseFloat( pmd.xAxisMax ) 
    //console.log( 'pongHistogram prepared' )
    if ( pmd.dataURL ) {
      log( "pongHistogram", "Load "+pmd.dataURL );
      //console.log( 'pongHistogram load ' )
      $.getJSON( 
          pmd.dataURL, 
          param,
            function( dta ) {
              pongHistogram_UpdateBars( divId, dta, min, max );
              log( "pongHistogram", 'load done' );
              publishEvent( "feedback", {"text":"Histogram data loaded"} )
          }
        );  
    }
  	log( "pongHistogram", "UpdateData end.");
  }
docs: ======= Code for hook ================================================ update data call back hook