fixed a bug with textboxes not updating changes