modify bucket for tree