I am not 100% sure, but I don't think the laptop includes m.2 expansion. Even if it did, this would not be in your best interest to improve performance on your laptop. You can do nothing about the CPU, as that is not socketed (can't be replaced). You could upgrade your RAM, though. Your computer only supports 1 dim of RAM, so you would have to buy 1 stick of 8 GB ram and replace it with the current 4 GB stick. If going down this path make sure to buy ram in SO-DIMM form. In terms of storage (which will only affect loading times not fps) you could buy a 2.5 inch ssd. If you want to improve performance without paying anything (and happy to forget Microsoft office, adobe apps and quite a few games + configuration of the system ) I would check out Linux. Using 4GB of ram is quite a stretch for gaming on windows. I would only recommend Linux if you are happy with possibly spending a while on configuration - it isn't ideal for out of the box gaming.
Also, you probably want to remove the serial number from your post, and provide other info such as storage.
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".