Add update $min && $max support