Update slider max before step.