Update paging to be zero-based