edit config for paginate