update post type