changes bucket variable