updated paginator component