Really, you need to do both.
If you're into playing modern games, then you'll get the best performance increase from upgrading the CPU first. There is no point in getting a better GPU when you're probably already getting lag and stutter caused by your CPU, this would only get worse with a better GPU.