updated the page type.