list = {{120.563, 51.0257, 880}, {120.302, 51.0257, 840}, {120.041, 51.0257,
840}, {119.78, 51.0257, 790}, {119.519, 51.0257, 600}, {119.257,
51.0257, 640}, {118.996, 51.0257, 880}, {118.735, 51.0257, 810},
{118.474, 51.0257, 1130}, {118.213, 51.0257, 840}, {117.952, 51.0257,
870}, {117.69, 51.0257, 950}, {117.429, 51.0257, 930}, {117.168,
51.0257, 930}, {116.907, 51.0257, 1180}, {116.646, 51.0257, 1040},
{116.384, 51.0257, 870}, {116.123, 51.0257, 760}, {115.862, 51.0257,
910}, {115.601, 51.0257, 650}, {115.34, 51.0257, 650}, {115.079,
51.0257, 660}, {114.817, 51.0257, 800}, {114.556, 51.0257, 780},
{114.295, 51.0257, 720}, {114.034, 51.0257, 950}, {113.773, 51.0257,
1040}, {113.511, 51.0257, 960}, {113.25, 51.0257, 1190}, {112.989,
51.0257, 1130}, {112.728, 51.0257, 1060}, {112.467, 51.0257, 1230},
{112.206, 51.0257, 1150}, {111.944, 51.0257, 790}, {111.683, 51.0257,
910}, {111.422, 51.0257, 940}, {111.161, 51.0257, 1090}, {110.9,
51.0257, 1160}, {110.638, 51.0257, 900}, {110.377, 51.0257, 1190},
{110.116, 51.0257, 1110}, {109.855, 51.0257, 1210}, {109.594,
51.0257, 1250}, {109.332, 51.0257, 1280}, {109.071, 51.0257, 780},
{108.81, 51.0257, 910}, {108.549, 51.0257, 990}, {108.288, 51.0257,
1100}, {108.027, 51.0257, 1060}, {107.765, 51.0257, 700}, {107.504,
51.0257, 650}, {107.243, 51.0257, 760}, {106.982, 51.0257, 680},
{106.721, 51.0257, 660}, {106.459, 51.0257, 580}, {106.198, 51.0257,
580}, {105.937, 51.0257, 820}, {105.676, 51.0257, 1110}, {105.415,
51.0257, 1370}, {105.154, 51.0257, 1590}, {104.892, 51.0257, 1600},
{104.631, 51.0257, 1360}, {104.37, 51.0257, 1450}, {104.109, 51.0257,
1090}, {103.848, 51.0257, 1570}, {103.586, 51.0257, 1990}, {103.325,
51.0257, 1950}, {103.064, 51.0257, 1840}, {102.803, 51.0257, 1700},
{102.542, 51.0257, 1840}, {102.281, 51.0257, 1840}, {102.019,
51.0257, 2120}, {101.758, 51.0257, 1860}, {101.497, 51.0257, 1510},
{101.236, 51.0257, 1690}, {100.975, 51.0257, 2060}, {100.713,
51.0257, 1720}, {100.452, 51.0257, 1640}, {100.191, 51.0257, 1940}}
If a sublist has third value = 1000, I want to change it to 300.