How to change/return variable in lambda?

Hello, I wonder if you forgot to accept and upvote the answer?