update pagination when filters are updated