updated the hydrodynamic equations