update max page size