term.layout update