adding pagination
update limit of the pager