update of pagination