code: func (r *Number) UpdateMax(n float64) {
  	r.Mutex.Lock()
  	defer r.Mutex.Unlock()
  
  	b := r.getCurrentBucket()
  	if n > b.Value {
  		b.Value = n
  	}
  	r.removeOldBuckets()
  }
docs: // UpdateMax updates the maximum value in the current bucket.