pagination and header updates