update dialog and tabs