updated dialog