Update functions for the SPH parameters.