recovery: update graphics.c