diff --git a/matlab/prior_posterior_statistics.m b/matlab/prior_posterior_statistics.m
index 5d29d01a9a0bbbbe5915631019d4c9ce3d18f992..039bd79b3e6ed6ed1aeecf0f0c2c48beecefd7c4 100644
--- a/matlab/prior_posterior_statistics.m
+++ b/matlab/prior_posterior_statistics.m
@@ -314,6 +314,10 @@ if options_.smoother
     pm3(endo_nbr,gend,ifil(11),B,'Smoothed trend',...
         '',M_.endo_names(1:M_.orig_endo_nbr, :),M_.endo_names_tex,M_.endo_names,...
         varlist,'Trend',DirectoryName,'_smoothed_trend');
+    pm3(endo_nbr,gend,ifil(1),B,'Updated Variables',...
+        '',varlist,M_.endo_names_tex,M_.endo_names,...
+        varlist,'UpdatedVariables',DirectoryName, ...
+        '_update');
     if smoothed_state_uncertainty
         pm3(endo_nbr,endo_nbr,ifil(13),B,'State Uncertainty',...
             '',varlist,M_.endo_names_tex,M_.endo_names,...
@@ -334,10 +338,6 @@ if options_.smoother
 end
 
 if options_.filtered_vars
-    pm3(endo_nbr,gend,ifil(1),B,'Updated Variables',...
-        '',varlist,M_.endo_names_tex,M_.endo_names,...
-        varlist,'UpdatedVariables',DirectoryName, ...
-        '_update');
     pm3(endo_nbr,gend,ifil(4),B,'One step ahead forecast (filtered variables)',...
         '',varlist,M_.endo_names_tex,M_.endo_names,...
         varlist,'FilteredVariables',DirectoryName,'_filter_step_ahead');