update to display.c