Update graphics.c