Should I upgrade RAM or to a SSD?
Given your budget (512GB SSD is quite expensive) I'd buy 8GB RAM + 256SSD and keep the 500GB HDD as a storage volume instead of the super drive. Depending on your country, it'll cost you around 200$ which is less expensive than a 500SSD and will bring you a lot of speed.