Update term.lua