Update StepCounter.java