Change number of pages