You can always upgrade the graphics card to a better one later but you can't always replace the CPU with a newer generation.
And you shouldn't plan to change the motherboard because the motherboard+processor+memory+operating_system costs a lot more than a new graphics card most of the time.