code: function udateModuleData ( resId, paramObj ) {
    log( 'udateModuleData', resId );
    var updHook = getHook( resId, "update" ); 
    if ( ( updHook != null ) && ( updHook.resType == "html" ) ) {  
      // update html type view
      loadResourcesHTajax( resId, updHook.resURL+"/html" );
      log( 'udateModuleData', 'loadResourcesHTajax' );
    } else if ( ( updHook != null ) && ( updHook.updFunction != null ) && ( updHook.updFunction != "" ) ) {
      // update module type view
      var callStr = updHook.updFunction+'( "'+resId+'", '+JSON.stringify( paramObj )+' )';
      log( 'udateModuleData', callStr );
      eval( callStr );  
    } else {
      log( 'udateModuleData', "do nothing for "+resId );
    }
  }
docs: =====================================================================================================