update buckets.js