Update post_type