update the bins