update textbox and getModel