update page type