Chosen Solution

read something flashing the gpu? not sure what it said but is it safe and worth it?

There is no such thing as flashing the GPU here. I suspect you read something about the GPU problems this series had. As Apple and a few other companies were supplied a bad run of chips. People tried reflowing the chip to solve the problem but its only a temporary fix. As for Yosemite running on this series. You’ll need to increase the RAM and likely need to up the storage of your HD as well before you can even think about it. Technically the newest version of Mac OS-X you can use is Lion (10.7.x). Your systems firmware is only 32 bit. So many newer Apps won’t work as they are 64 bit only. While some people have managed to goose their system its not worth it. Sorry, time for a newer system (new or used)