Update post type