Update all max and mins