added ability to update data dict when paging