remove post type in database