gm.mat and model.mat updated for all sessions