add remove_bucket_item function