update pager and dialog