function setPage for set page fetching collection