update popup dialog