support to update totalCount