Updated

Michael Cuddyer homered, DJ LeMahieu had two hits and the streaking Colorado Rockies beat the Miami Marlins 5-3 on Thursday night.

Eric Young Jr. and Josh Rutledge had a hit and an RBI apiece for the Rockies, who won their fourth straight game.

Rafael Betancourt tossed a perfect ninth for his 22nd save.

Ricky Nolasco pitched his first complete game of the season and seventh overall, and Carlos Lee and Giancarlo Stanton each homered for the Marlins, losers of six of eight.

Nolasco (9-12) lost for the sixth time in his last seven starts despite going the distance. He allowed five runs and nine hits, struck out seven and walked one in eight innings.

Trailing by two, the Rockies tied it in the sixth. Carlos Gonzalez reached on a bunt single and Cuddyer followed with a two-run homer, his 16th of the season.

Colorado then went ahead in the seventh.

LeMahieu led off with a single and scored on a triple to right by pinch-hitter Rutledge. Young put down a squeeze bunt up the first base line to knock in Rutledge and give the Rockies a 5-3 lead.

Adam Ottavino (4-1) picked up the win in relief of starter Alex White.

The Marlins scored first on Lee's leadoff homer in the second inning, his seventh of the season. The Rockies tied it in the bottom of the inning when LeMahieu tripled with two outs and scored on a wild pitch.

Miami went back ahead in the fourth when Lee walked, went to third on Greg Dobbs' single and scored on a wild pitch.

Stanton made it 3-1 with a leadoff homer off Ottavino in the sixth. It was his 22nd of the season.

NOTES: The Rockies optioned Matt McBride to Triple-A Colorado Springs to make room for Cuddyer on the roster. ... Marlins C Rob Brantly's double in the sixth was his first major league hit. ... Rockies RHP Jhoulys Chacin (pectoral injury) was scheduled to start for Colorado Springs on Thursday and could join the team when it travels to New York on Monday. ... Miami LHP Wade LeBlanc (1-2) will face Colorado's Jeff Francis (4-4) on Friday.