modify post type