update the url and control pager arguments