Fixed few bugs with updating static pages.