Update pagination to use previous next links instead.