Update FavoriteController.java