added focus change on enter to update text