.........want to upgrade the graphics card.....
Your upgrade options are severely limited due to the Micro-ATX motherboard and the measly 180W power supply. You may be able to source a "low profile" graphics card that fits inside the case but the inadequate PSU would still be a worry.
..and possibly the ram
Why do you think you need more than 8GB? If you're a typical user then adding more is unlikely to make any difference.