update min line