Update CMS page function