update sample pagination links