Update term.c