update ActionsController.java