Text updating after search