complete pagination and update static pages