Updates to pagination