Corrected the dynamic update of some parameters