Implemented page type updating and deletion