updates to pagination module