Update HourlyController.php