Update cms_page to use 'ref' field