Fix bug when new user update new date's data
refactor updateFitnessStat function by seperating helper functions