Update RewardsController.php