update bucket