hashing, checking, upserting
fix callback situation
properly update min max