update tab title after edit