updating page types