update buckets