Keep origin curve shape, change z vectors

Hello, I just strated to do GH…
Here is curve that I want to keep the shape, and I want to change specific Z vectors to upper points.

So, on the top view, the curve shape is same but only specific z vector change