update the type to be a page name.