My penis might work better if I have an upward curve. Is there any way to achieve that?

Probably not! You penis, once reaching an adult status is about what it is going to be. If you are having an issue with the curvature or lack of curvature of your penis, perhaps you would wish to discuss this with a plastic surgeon or urologist who has an interest in this. Peyronies disease can be a cause of abnormal curvature and can be improved. If it is just about wishful thinking, keep dreaming!