updating data with grad rates