add method to override default page and pages key