Gaming Upgrade Choice: RAM Upgrade or SSD?

Hey guys, I have a hp17-e016dx laptop and it runs games slowly. I need to upgrade it to ur the games faster. What upgrade would be better, 4gb to 8gb of ddr3 ram or 5400rpm hd to ssd? Thanks for the help. I need it !