update structure of line edit