revised parameter update function
fix the work tree on my disck
revised update_params_LFN.m