set pagination and data yaml