Can I upgrade my laptop processor from i3 to i5

Hello, I am a beginner on this issue. I currently have a computer with 8gb of ram, and an Intel Core i3-7100 (Kabylake) 3.9 GHz Dual Core. I went to the hp website for my computer specifically, and it's telling me that I can upgrade to any of these two cores:
  • Intel Core i5-7400 (Kabylake) 3.0 GHz Quad Core
  • Intel Core i7-7700 (Kabylake) 3.6 GHz Quad Core
I use my computer for 3D-rendering such as daz or maya. I also occasionally game on stuff like sims 4. I was wondering if any of you guys can recommend an upgrade based on that criteria. Obviously the core i7 is the more powerful, but also more expensive. I wonder if it's worth the upgrade for me. My computer does seem to struggle sometimes, even for the most basic functions with the core i3. Thanks to everyone in advance.