diff --git a/tsgqc_GUI.m b/tsgqc_GUI.m
index a8b63c42f1da99f1c37e47ddfefba3e21fbd32ca..9e0b9fb2eee5a5ae3c7cc18986f327a031970bfe 100644
--- a/tsgqc_GUI.m
+++ b/tsgqc_GUI.m
@@ -488,9 +488,13 @@ tsg_initialisation(hMainFig, hQcCmenu)
         hdl_pushtool = findobj('-regexp','Tag', 'PUSHTOOL_');
         set(hdl_pushtool, 'Enable', 'on');
 
-        % update the display
-        % ------------------
+        % update the filename display
+        % ---------------------------
         set( hInfoFileText, 'String', fileName);
+        
+        % update some fields in tsg structure
+        % -----------------------------------
+        updateTsgStruct(hMainFig);
 
         % The callback to detect the mouse motion can be set to on
         % --------------------------------------------------------
@@ -525,7 +529,7 @@ tsg_initialisation(hMainFig, hQcCmenu)
     if error2 ~= -1
       plot_SalTsgSample( hMainFig, hPlotAxes );
     end
-
+    
     % Pointer reset to arrow
     % ----------------------
     set( hMainFig, 'Pointer', 'arrow' );