refactored pedometer refresh data