Update CounterController.java