Update BucketController.groovy