Update the limit and offset so it actually works. todo: tests :(